package ingsw2.functionality;

public class Section extends CompositeOrganisationalUnit {

	private String name;
	
	public Section(String name){
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	@Override
	public void accept(IElementVisitor visitor) {
		visitor.visitSection(this);
		for (IOrganizationalUnit e : childOrganizationalUnit){
			e.accept(visitor);
		}
	}

}
